﻿Imports BusinessEntites
Imports BusinessService

Partial Public Class _Default
    Inherits System.Web.UI.Page

    Dim myObj As New NhanVienObj
    Dim myListObj As New ListOfNhanVienObj
    Dim myService As New NhanVienService

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        myListObj = myService.GetListObject
        GridView1.DataSource = myListObj.ListOfNhanVienObj
        GridView1.DataBind()
    End Sub

End Class